﻿using Tszy.Unlimited.Base.Exceptions;

namespace Project2.Domain
{
    public class DomainException : MainApplicationException
    {
        public DomainException(string errorMessage, object? result = null, Exception? innerException = null) : base(errorMessage, result, innerException)
        {
        }

        public DomainException(int errorCode, string errorMessage, Exception? innerException) : base(errorCode, errorMessage, innerException)
        {
        }

        public DomainException(int errorCode, string errorMessage, Exception? innerException, object? result) : base(errorCode, errorMessage, innerException, result)
        {
        }
    }
}